import 'package:high_help_apps/generated/json/base/json_convert_content.dart';
import 'package:high_help_apps/generated/json/base/json_field.dart';

class MessageInfoEntity with JsonConvert<MessageInfoEntity> {
	late bool success;
	late int code;
	late String message;
	late MessageInfoDetail detail;
}

class MessageInfoDetail with JsonConvert<MessageInfoDetail> {
	late int current;
	late int size;
	late int total;
	late List<MessageInfoDetailRecords> records;
}

class MessageInfoDetailRecords with JsonConvert<MessageInfoDetailRecords> {
	late int id;
	@JSONField(name: "create_at")
	late String createAt;
	@JSONField(name: "update_at")
	late String updateAt;
	@JSONField(name: "receive_uid")
	late MessageInfoDetailRecordsReceiveUid receiveUid;
	@JSONField(name: "release_user")
	late MessageInfoDetailRecordsReleaseUser releaseUser;
	late String desc;
	@JSONField(name: "is_handled")
	late int isHandled;
	@JSONField(name: "is_finish")
	late int isFinish;
	late int status;
}

class MessageInfoDetailRecordsReceiveUid with JsonConvert<MessageInfoDetailRecordsReceiveUid> {
	late int id;
	@JSONField(name: "create_at")
	late String createAt;
	late int uid;
	@JSONField(name: "nick_name")
	late String nickName;
	late String email;
	late dynamic phone;
	late String sex;
	@JSONField(name: "real_name")
	late String realName;
	@JSONField(name: "update_at")
	late String updateAt;
	@JSONField(name: "role_int")
	late dynamic roleInt;
	late String avatar;
	late String birthday;
	late String location;
}

class MessageInfoDetailRecordsReleaseUser with JsonConvert<MessageInfoDetailRecordsReleaseUser> {
	late int id;
	@JSONField(name: "create_at")
	late String createAt;
	late int uid;
	@JSONField(name: "nick_name")
	late String nickName;
	late String email;
	late dynamic phone;
	late String sex;
	@JSONField(name: "real_name")
	late String realName;
	@JSONField(name: "update_at")
	late String updateAt;
	@JSONField(name: "role_int")
	late dynamic roleInt;
	late String avatar;
	late String birthday;
	late String location;
}
